#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
#define pi 3.14
int main()
{
	double r ;
	cin>> r;
	cout << pi * 2 * r << ' ' << pi * r * r << endl;



	return 0;

}